<?php
namespace Home\Controller;
use Think\Controller;

class FuncController extends CommonController {

    public function __construct(){
        parent::__construct();
        if (!isset($_SESSION['user_id'])) {
	    	// $this->pDisplay( T('Login/index') );
            $this->redirect('Login/index', array(), 1, 'Loading...');
        } else {
            $this->userid = $_SESSION['user_id'];
        }
    }

}
